import { Component, OnInit, ViewEncapsulation , Input } from '@angular/core';
import { ParentComponent } from '../parent/parent.component';
@Component({
  selector: 'app-son',
  templateUrl: './son.component.html',
  styleUrls: ['./son.component.scss'],
  encapsulation: ViewEncapsulation.None
})
export class SonComponent implements OnInit {
  @Input() parent: ParentComponent;
  @Input('master') masterName: String;
  constructor() { }

  ngOnInit() {
  }

}
